package com.tianpengtech.common.search;

public abstract class Condition {

    public final static int AND = 1;
    public final static int OR = 2;

    protected String filedName;

    protected Object value;


    protected StringBuffer sqlBuffer = new StringBuffer();

    public abstract String buildSQL();

    public String getFiledName() {
        return filedName;
    }

    public void setFiledName(String filedName) {
        this.filedName = filedName;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

}
